package top.api.service;

import top.api.common.ResponseResult;
import top.api.domain.entity.User;

public interface BlogLoginService {
    /**
     * 登录
     * @param user
     * @return
     */
    ResponseResult login(User user);

    /**
     * 退出登录
     * @return
     */
    ResponseResult logout();
}
